package org.example.spring_boot_blog.service;

import jakarta.validation.constraints.NotNull;
import org.example.spring_boot_blog.common.pojo.request.UserLoginParam;
import org.example.spring_boot_blog.common.pojo.response.UserInfoResponse;
import org.example.spring_boot_blog.common.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserLoginParam userParam);

    UserInfoResponse getUserInfoById(@NotNull Integer userId);

    UserInfoResponse getAuthorInfoById(@NotNull Integer blogId);
}
